package com.zhhs.project.act.appactivity.common;


import com.zhhs.framework.web.domain.AjaxResult;

/**
 * @description: app活动页面业务异常
 * @author: xiaohu
 * @date: Created in 2021-11-08 14:46
 */
public class AppJsonBusinessException extends RuntimeException {
    private AjaxResult result;

    public AppJsonBusinessException(String message) {
        super(message);
        this.result = AjaxResult.error(message);
    }

    public AppJsonBusinessException(String message, AjaxResult result) {
        super(message);
        this.result = result;
    }

    public AjaxResult getResult() {
        return result;
    }

    public void setResult(AjaxResult result) {
        this.result = result;
    }
}
